gdk-pixbuf/gdk-pixbuf-io.c Do as the docs for
authorTor Lillqvist <tml@novell.com>
Sat, 13 Sep 2008 09:19:03 +0000 (09:19 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 13 Sep 2008 09:19:03 +0000 (09:19 +0000)
2008-09-13  Tor Lillqvist  <tml@novell.com>

* gdk-pixbuf/gdk-pixbuf-io.c
* gtk/gtkmain.c: Do as the docs for
g_win32_get_package_installation_directory() say and pass NULL as
the first parameter.

svn path=/trunk/; revision=21379

ChangeLog
gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-io.c
gtk/gtkmain.c

index 6ac5bf06dc0995a091009ccdc7110e4aa8819018..3e6fb8a6a255b1a7e660f1ed4bdcd42011c2e638 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-13  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkmain.c: Do as the docs for
+       g_win32_get_package_installation_directory() say and pass NULL as
+       the first parameter.
+
 2008-09-11  Cosimo Cecchi  <cosimoc@gnome.org>
 
        Bug 536542 – gtk_list_store_set() documentation doesn't say whether
index 6e0ad078c53b8f3c522371139348b697dc958644..841ff5e629bf77fa4fbc6b4e7e8e1cf31bef1f19 100644 (file)
@@ -1,3 +1,9 @@
+2008-09-13  Tor Lillqvist  <tml@novell.com>
+
+       * gdk-pixbuf-io.c: Do as the docs for
+       g_win32_get_package_installation_directory() say and pass NULL as
+       the first parameter.
+
 2008-09-07  Matthias Clasen  <mclasen@redhat.com>
 
        * gdk-pixbuf-io.c (gdk_pixbuf_io_init): Plug a small memory
index 61256e8631ae229370592636e0484bdd8ff2717b..967febbbd6d798a5fe014e50c0aac6cb17646dee 100644 (file)
@@ -238,7 +238,7 @@ get_toplevel (void)
 
   if (toplevel == NULL)
     toplevel = g_win32_get_package_installation_subdirectory
-      (GETTEXT_PACKAGE, dll_name, "");
+      (NULL, dll_name, "");
 
   return toplevel;
 }
@@ -250,7 +250,7 @@ get_sysconfdir (void)
 
   if (sysconfdir == NULL)
     sysconfdir = g_win32_get_package_installation_subdirectory
-      (GETTEXT_PACKAGE, dll_name, "etc");
+      (NULL, dll_name, "etc");
 
   return sysconfdir;
 }
index 30328cd1c3db78632129112bff2399293e27acdb..52538a1db38158ea702049b42bad7702a3607c7b 100644 (file)
@@ -92,7 +92,7 @@ _gtk_get_localedir (void)
        ;
 
       temp = g_win32_get_package_installation_subdirectory
-        (GETTEXT_PACKAGE, dll_name, p);
+        (NULL, dll_name, p);
 
       /* gtk_localedir is passed to bindtextdomain() which isn't
        * UTF-8-aware.
@@ -308,7 +308,7 @@ _gtk_get_datadir (void)
   static char *gtk_datadir = NULL;
   if (gtk_datadir == NULL)
     gtk_datadir = g_win32_get_package_installation_subdirectory
-      (GETTEXT_PACKAGE, dll_name, "share");
+      (NULL, dll_name, "share");
 
   return gtk_datadir;
 }
@@ -319,7 +319,7 @@ _gtk_get_libdir (void)
   static char *gtk_libdir = NULL;
   if (gtk_libdir == NULL)
     gtk_libdir = g_win32_get_package_installation_subdirectory
-      (GETTEXT_PACKAGE, dll_name, "lib");
+      (NULL, dll_name, "lib");
 
   return gtk_libdir;
 }
@@ -330,7 +330,7 @@ _gtk_get_sysconfdir (void)
   static char *gtk_sysconfdir = NULL;
   if (gtk_sysconfdir == NULL)
     gtk_sysconfdir = g_win32_get_package_installation_subdirectory
-      (GETTEXT_PACKAGE, dll_name, "etc");
+      (NULL, dll_name, "etc");
 
   return gtk_sysconfdir;
 }
@@ -341,7 +341,7 @@ _gtk_get_data_prefix (void)
   static char *gtk_data_prefix = NULL;
   if (gtk_data_prefix == NULL)
     gtk_data_prefix = g_win32_get_package_installation_directory
-      (GETTEXT_PACKAGE, dll_name);
+      (NULL, dll_name);
 
   return gtk_data_prefix;
 }